<?php
namespace app\admin\validate;

use think\Validate;

class Member extends Validate
{
    // 验证规则
    protected $rule = [
        ['cardno', 'require|number', '会员编号必填|会员编号必须是数字格式'],
        ['mobile', 'require|number', '手机号码必填|手机号码必须是数字格式'],
    ];
}